const {merge} = require('webpack-merge');
const base = require('./webpack.base.js');
//合并操作
module.exports = merge(base,{
    mode:"development",
    devServer:{
        //静态文件访问
        contentBase:'dist',
        port:8888,
        hot:true,
        proxy:{
            '/api':{
                target:'https://baidu.com'
            }
        }
    },
    devtool:'cheap-module-source-map',
    
})
